﻿namespace Admin.NET.Application.Service.EG_AGV_Task.DTO;

/// <summary>
/// 转发Model
/// </summary>
public class TransponderModel<T>
{
    /// <summary>
    /// 定时器
    /// </summary>
    public Timer Timer { get; set; }

    /// <summary>
    /// 转发数据
    /// </summary>
    public T ForwardData { get; set; }

    /// <summary>
    /// 次数
    /// </summary>
    public int retryCount { get; set; } = 0;

    /// <summary>
    /// 最大重试次数
    /// </summary>
    public const int MaxRetryCount = 3;
}